package site.kitcheng.springboottest.infra.config.security;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: MySecurityPropertiesConfig
 * Package: site.kitcheng.springboottest.infra.config.security
 * Description:
 *
 * @Author jiangCheng
 * @Create 2025/2/25 10:27
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "my-security")
public class MySecurityPropertiesConfig {
    private String publicKey;
    private String privateKey;

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
}
